package com.microcity.cleanjava.mvvm.model.api.service;

import android.arch.lifecycle.LiveData;

import com.darksider.basemodule.net.ApiResponse;
import com.microcity.cleanjava.mvvm.model.entry.Result;

import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * use liveData
 */
public interface CustomService {
    /**
     * 快捷登录
     */
    @GET("user/quickLogin.do")
    LiveData<ApiResponse<Result>> getQuickLoginInfo(@Query("telPhone") String telPhone,
                                                    @Query("verifyCode") String verifyCode);
}